package game.ui.data
{
	import engine.asset.*;
	import flash.events.*;
	import game.actor.*;
	import game.messages.gamedata.*;
	import game.messages.inventory.*;
	import game.network.*;
	import game.ui.events.*;
	
	public class RxInventoryCollection //extends EventDispatcher implements RxIDataCollection
	{
		private var m_inventory:RxInventory;
		private var m_filteredArray:Vector.<RxItemRecord>;
		private var m_ignoreEquipment:Boolean;
		private var m_filter:int = 0;
		public static const FILTER_NONE:int = 0;
		public static const FILTER_WEAPONS:int = 1;
		public static const FILTER_ARMOR:int = 2;
		public static const FILTER_RINGS:int = 3;
		public static const FILTER_CONSUMABLES:int = 4;
		
		public function RxInventoryCollection(param1:RxInventory, param2:Boolean = true)
		{
			this.m_inventory = param1;
			this.m_ignoreEquipment = param2;
			this.m_filteredArray = new Vector.<RxItemRecord>;
		}
	}
}